<?php


namespace app\api\controller;


use app\api\BaseApi;
use tools\jwt\Token;

class Index extends BaseApi
{
    public function index()
    {

        $token = Token::getToken(1);
        $user_id = Token::getUserId($token);
        $this->outPutSucc(['token' => $token, 'user_id' => $user_id]);


        echo 123;
//        return '你好';
    }


}